﻿@model Szmyd.Orchard.Modules.Silverlight.Settings.SilverlightPartTypePartSettings
    <fieldset>
    <div>
        @Html.LabelFor(m => m.DefaultSource, T("Default Silverlight application source file (.xap)"))
        @Html.DropDownListFor(m => m.DefaultSource, new System.Web.Mvc.SelectList(Model.AvailableFiles, "Path", "Name"))
        <span class="hint">
            @T("If you want to display a .xap file that is not listed, you have to upload it to the /Silverlight folder through Media panel first.")
            <br />
            @T("If this value is set - it cannot be overridden when creating items.")
        </span>
    </div>
    <div>
        @Html.LabelFor(m => m.DefaultInitParams, T("Default Silverlight initialization parameters"))
        @Html.EditorFor(m => m.DefaultInitParams)
        <span class="hint">
            @T("If this value is set - it cannot be overridden when creating items.")
        </span>
    </div>
    </fieldset>

